package com.cskaoyan.order.dal.persistence;


import com.cskaoyan.order.dal.entitys.Order;
import com.cskaoyan.order.dto.OrderDetailUnion;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

public interface OrderMapper extends Mapper<Order> {
    Long countAll();

    int cancelOrder(String orderId);

    OrderDetailUnion getDetailUnion(@Param("userId") Long userId, @Param("orderId") String orderId);
}